-
-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat graphical editor sentences hotkey #349
Feat graphical editor sentences hotkey #349
Conversation
Former-commit-id: ebbf312
rename auto selection Former-commit-id: 30a5eaf
Basic WebGAL Language Service Former-commit-id: 14d19e3
Former-commit-id: 39e89de
Former-commit-id: 4092adf
Former-commit-id: 75fd00f
add template folder info on assets Former-commit-id: 9a52611
Former-commit-id: 6bafc2d
Former-commit-id: f62980f
Former-commit-id: 913445b
Former-commit-id: 0b85cf8
Former-commit-id: c2ad5bb
Former-commit-id: 01d74ae
improve display of the delete dialog, fix nested folder scene file editing Former-commit-id: ef9d700
Former-commit-id: 24fbf22
Former-commit-id: 8d92be7
Former-commit-id: d3bf514
Former-commit-id: b7d7c5b
Former-commit-id: c49e5aa
feat: add live preview button on game preview Former-commit-id: 3fb41d4
Former-commit-id: 6661351
… dev Former-commit-id: 09b4d92
Former-commit-id: 7f49848
Former-commit-id: a8721a3
Former-commit-id: 19b9b1e
Former-commit-id: 1860147
… dev Former-commit-id: 2cb6dad
Former-commit-id: 4ed6619
Former-commit-id: 1a6e5a8
Former-commit-id: 0d92957
add copy_sentence_and_insert action
|
refactor(ci): refactor into two workflow files
.sentenceEditorWrapper:focus { | ||
border: 1px solid blue; | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里样式改成像这样的
.sentenceEditorWrapper:focus {
outline: none;
}
.sentenceEditorWrapper:focus .sentenceEditorContent {
border: var(--border-primary-lg);
}
在 packages\origine2\src\config\themes\theme.css
可以查看常用的样式
…editor-sentences-hotkey' into feat-graphical-editor-sentences-hotkey
0c2fdbd
to
be4e2c7
Compare
Sentence 和 AddSentence 快捷键
Sentence (不包括自定义)
(OUTER 为焦点在整个语句控件时触发)
(INNER 为焦点在语句控件内输入框时触发)
AddSentence (包括自定义,且储存至IEditorState)
在AddSentence左下角切换设置模组,并点击对应按钮调整其快捷键
string
"Ctrl+Enter"
或"Alt+Enter"
。shortcuts: "Ctrl+Enter"
commandType | "custom"
commandType
枚举中的值),也可以是自定义的"custom"
。type: commandType.run_sentence
string?
(可选)type
为"custom"
时,可以提供一个初始文本,用于快捷执行某指令(待写)。initialText: "changeFigure:stand.png -left"